package com.qf.aop;

import org.springframework.aop.AfterReturningAdvice;
import org.springframework.aop.MethodBeforeAdvice;

import java.lang.reflect.Method;

/**
 * @author bss
 * @version V1.0
 * @Project maven
 * @Package com.qf.aop
 * @Description:
 * @Date 2022/9/27 15:07
 */
public class MyMethodAfterAdvice implements AfterReturningAdvice {
    @Override
    public void afterReturning(Object returnValue, Method method, Object[] args, Object target) throws Throwable {
        System.out.println("后置增强");
    }
}
